package com.vrv.jdbc;

import org.springframework.batch.item.ItemProcessor;

import com.vrv.domain.Student;

/**
 * desc:
 * @author lsr lishaorui@vrvmail.com.cn
 * @version 2014-1-9
 */
public class StudentProcessor implements ItemProcessor<Student, Student> {

    @Override
    public Student process(Student item) throws Exception {
        System.out.println(item.toString());
        if(item.getScore() <= 80)
            return null;
        
        return item;
    }

}
